#if !defined(AFX_CHARTPIEGROUPSMALLERSLICESVIEW_H__0F14A32A_96D8_4462_9C01_744A7B882EEE__INCLUDED_)
#define AFX_CHARTPIEGROUPSMALLERSLICESVIEW_H__0F14A32A_96D8_4462_9C01_744A7B882EEE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// ChartPieGroupSmallerSlicesView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChartPieGroupSmallerSlicesView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "BCGPChartExampleDoc.h"
#include "BCGPChartExampleView.h"

class CChartPieGroupSmallerSlicesView : public CBCGPChartExampleView
{
protected:
	CChartPieGroupSmallerSlicesView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CChartPieGroupSmallerSlicesView)

// Form Data
public:
	//{{AFX_DATA(CChartPieGroupSmallerSlicesView)
	enum { IDD = IDD_CHART_PIE_GROUP_SMALLER_SLICES };
	CBCGPButton	m_wndCustomLabel;
	CBCGPSliderCtrl	m_wndPerc;
	CBCGPButton	m_wndGroupSlicesInLegend;
	CBCGPChartCtrl	m_wndChart;
	BOOL	m_bGroupSlices;
	BOOL	m_bGroupSlicesInLegend;
	int		m_nPerc;
	CString	m_strPercValue;
	BOOL	m_bCustomLabel;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartPieGroupSmallerSlicesView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	virtual CBCGPChartVisualObject* GetChart()
	{
		return m_wndChart.GetChart();
	}

	virtual CBCGPBaseVisualCtrl* GetCtrl()
	{
		return &m_wndChart;
	}

// Implementation
protected:
	virtual ~CChartPieGroupSmallerSlicesView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CChartPieGroupSmallerSlicesView)
	afx_msg void OnUpdateChart();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTPIEGROUPSMALLERSLICESVIEW_H__0F14A32A_96D8_4462_9C01_744A7B882EEE__INCLUDED_)
